home *** CD-ROM | disk | FTP | other *** search
/ MacSilverWare / macsilverware.iso / Education / DigSim 2.8 / 2 bit ALU doc next >
Text File  |  1986-10-26  |  525b  |  23 lines

  1.  
  2.                         2 bit Arithmetic Logic Unit
  3.  
  4.                 C1  C2
  5.                 |   |
  6.             -------------
  7. A=a1 a0 ----|           |
  8.             |           |---- Z=z1z2
  9. B=b1 b0 ----|           |
  10.             |           |
  11. CarryIn ----|           |---- CarryOut
  12.             -------------
  13.  
  14.     C1      C2      Operation
  15.    ___     ___      _________
  16.  
  17.     0       0       A + B
  18.  
  19.     0       1       A + B + CarryIn
  20.  
  21.     1       0       A + 2s complement of B
  22.  
  23.     1       1       A + 1s complement of B + carry